﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000863 RID: 2147
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetTreasureDungeonActivityDataScRsp : IMessage<GetTreasureDungeonActivityDataScRsp>, IMessage, IEquatable<GetTreasureDungeonActivityDataScRsp>, IDeepCloneable<GetTreasureDungeonActivityDataScRsp>, IBufferMessage
	{
		// Token: 0x17001B1A RID: 6938
		// (get) Token: 0x0600600A RID: 24586 RVA: 0x000FFFF7 File Offset: 0x000FE1F7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetTreasureDungeonActivityDataScRsp> Parser
		{
			get
			{
				return GetTreasureDungeonActivityDataScRsp._parser;
			}
		}

		// Token: 0x17001B1B RID: 6939
		// (get) Token: 0x0600600B RID: 24587 RVA: 0x000FFFFE File Offset: 0x000FE1FE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetTreasureDungeonActivityDataScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001B1C RID: 6940
		// (get) Token: 0x0600600C RID: 24588 RVA: 0x00100010 File Offset: 0x000FE210
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetTreasureDungeonActivityDataScRsp.Descriptor;
			}
		}

		// Token: 0x0600600D RID: 24589 RVA: 0x00100017 File Offset: 0x000FE217
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetTreasureDungeonActivityDataScRsp()
		{
		}

		// Token: 0x0600600E RID: 24590 RVA: 0x0010002A File Offset: 0x000FE22A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetTreasureDungeonActivityDataScRsp(GetTreasureDungeonActivityDataScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.pJMDOBMIFGJ_ = other.pJMDOBMIFGJ_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600600F RID: 24591 RVA: 0x00100060 File Offset: 0x000FE260
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetTreasureDungeonActivityDataScRsp Clone()
		{
			return new GetTreasureDungeonActivityDataScRsp(this);
		}

		// Token: 0x17001B1D RID: 6941
		// (get) Token: 0x06006010 RID: 24592 RVA: 0x00100068 File Offset: 0x000FE268
		// (set) Token: 0x06006011 RID: 24593 RVA: 0x00100070 File Offset: 0x000FE270
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17001B1E RID: 6942
		// (get) Token: 0x06006012 RID: 24594 RVA: 0x00100079 File Offset: 0x000FE279
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<TreasureDungeonActivityData> PJMDOBMIFGJ
		{
			get
			{
				return this.pJMDOBMIFGJ_;
			}
		}

		// Token: 0x06006013 RID: 24595 RVA: 0x00100081 File Offset: 0x000FE281
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetTreasureDungeonActivityDataScRsp);
		}

		// Token: 0x06006014 RID: 24596 RVA: 0x00100090 File Offset: 0x000FE290
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetTreasureDungeonActivityDataScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.pJMDOBMIFGJ_.Equals(other.pJMDOBMIFGJ_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06006015 RID: 24597 RVA: 0x001000E0 File Offset: 0x000FE2E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			num ^= this.pJMDOBMIFGJ_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06006016 RID: 24598 RVA: 0x0010012D File Offset: 0x000FE32D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06006017 RID: 24599 RVA: 0x00100135 File Offset: 0x000FE335
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06006018 RID: 24600 RVA: 0x00100140 File Offset: 0x000FE340
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.pJMDOBMIFGJ_.WriteTo(ref output, GetTreasureDungeonActivityDataScRsp._repeated_pJMDOBMIFGJ_codec);
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06006019 RID: 24601 RVA: 0x00100190 File Offset: 0x000FE390
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			num += this.pJMDOBMIFGJ_.CalculateSize(GetTreasureDungeonActivityDataScRsp._repeated_pJMDOBMIFGJ_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600601A RID: 24602 RVA: 0x001001E4 File Offset: 0x000FE3E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetTreasureDungeonActivityDataScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this.pJMDOBMIFGJ_.Add(other.pJMDOBMIFGJ_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600601B RID: 24603 RVA: 0x00100231 File Offset: 0x000FE431
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600601C RID: 24604 RVA: 0x0010023C File Offset: 0x000FE43C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 18U)
				{
					if (num != 24U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					this.pJMDOBMIFGJ_.AddEntriesFrom(ref input, GetTreasureDungeonActivityDataScRsp._repeated_pJMDOBMIFGJ_codec);
				}
			}
		}

		// Token: 0x040024ED RID: 9453
		private static readonly MessageParser<GetTreasureDungeonActivityDataScRsp> _parser = new MessageParser<GetTreasureDungeonActivityDataScRsp>(() => new GetTreasureDungeonActivityDataScRsp());

		// Token: 0x040024EE RID: 9454
		private UnknownFieldSet _unknownFields;

		// Token: 0x040024EF RID: 9455
		public const int RetcodeFieldNumber = 3;

		// Token: 0x040024F0 RID: 9456
		private uint retcode_;

		// Token: 0x040024F1 RID: 9457
		public const int PJMDOBMIFGJFieldNumber = 2;

		// Token: 0x040024F2 RID: 9458
		private static readonly FieldCodec<TreasureDungeonActivityData> _repeated_pJMDOBMIFGJ_codec = FieldCodec.ForMessage<TreasureDungeonActivityData>(18U, TreasureDungeonActivityData.Parser);

		// Token: 0x040024F3 RID: 9459
		private readonly RepeatedField<TreasureDungeonActivityData> pJMDOBMIFGJ_ = new RepeatedField<TreasureDungeonActivityData>();
	}
}
